package com.rui.patterns.state.after;

/**
 * @author : [锐神NO.3]
 * @version : [v1.0]
 * @className : Client
 * @createTime : [2022/2/24 15:14]
 * @description : [描述该类的功能]
 */

public class Client {
    public static void main(String[] args) {
        Context context = new Context();

        context.setLiftState(new RunningState());

        context.open();
        context.close();
        context.run();
        context.stop();
    }
}
